package com.qf.cm.dao;

import com.qf.cm.pojo.Item;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 公用常量
 * @Data: 2022/9/7 22:12
 * @Pacakge: com.qf.cm.dao
 * @ClassName: ItemsDao
 * @Author: fan
 */
@Repository
public interface ItemsDao {
    @Select("select * from item where suid = #{suid}")
    List<Item> findItemBySuid(@Param("suid") String suid);
    @Select("select * from item where  iname = #{iname}")
    Item findItemByIname(@Param("iname")String iname);
}
